package com.ynunicom.dc.dingdingcontractapp.entity.requestbodyentity;

import com.alibaba.fastjson.JSONObject;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.List;

/**
 * @author: jinye.Bai
 * @date: 2020/5/25 14:08
 */
@Getter
@Setter
public class NewStaffRequestBody implements Serializable {

    private static final long serialVersionUID = -5775831020838578837L;

    private String userid;

    @NotBlank
    private String name;

    private JSONObject orderInDepts;

    @NotNull
    private List department;

    private String position;

    @NotBlank
    private String mobile;

    private String tel;

    private String workPlace;

    private String remark;

    private String email;

    private String orgEmail;

    private String jobnumber;

    private boolean isHide;

    private boolean isSenior;

    private JSONObject extattr;

    private Number hiredDate;

}
